import {phoneApi} from "../http.service";
export const getHomepageList = (data) => phoneApi.get("/index", {data});
export const getTypeIndex = (id,data) => phoneApi.get(`/typeindex/${id}`, {data});
export const getAdmissions = (params) => phoneApi.get(`/admissions`, {params});
export const getAdmissionsDetail = (id,data) => phoneApi.get(`/admissions/${id}`, {data});
export const getSchools = (params) => phoneApi.get(`/schools`, {params});
export const getSchoolsDetails = (id,data) => phoneApi.get(`/schools/${id}`, {data});
export const getCourse = (data) => phoneApi.get(`/course`, {data});
export const getEntrance = (data) => phoneApi.get(`/entrance`, {data});
export const getArticle = (id,data) => phoneApi.get(`/article/${id}`, {data});
export const getArticleList = (params) => phoneApi.get(`/article`, {params});
export const getRecord = (data) => phoneApi.post(`/record`, {data});
export const getQrcode = (data) => phoneApi.get(`/qrcode`, {data});
export const getCourseDetail = (id,data) => phoneApi.get(`/course/${id}`, {data});
export const getIntelligent = (data) => phoneApi.post(`/intelligent`, {data});
export const getRecordinfo = (data) => phoneApi.post(`/recordinfo`, {data});




    
  
